import gui.jquery.legend.core.AxisType;

import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;


public class SliderListener implements MouseListener {
	
	private AxisType axe;	
	
	public SliderListener(AxisType axe) {
		this.axe = axe;
	}
	
	public void mouseClicked(MouseEvent arg0) {}
	public void mouseEntered(MouseEvent arg0) {}
	public void mouseExited(MouseEvent arg0) {}
	public void mousePressed(MouseEvent arg0) {}
	public void mouseReleased(MouseEvent arg0) {
		
		ActionsManager.refreshGraph(axe);
		
	}
	
	

		//JInterface.p_haut.getVerticalScrollBar().getValue();
		//JInterface.p_haut.getVerticalScrollBar().setAlignmentX(50);

		
		/*JInterface.p_droite.setTopComponent(JInterface.p_haut);
		JInterface.p_droite.setBottomComponent(JInterface.p_bas);
		JInterface.p_droite.setDividerLocation(JInterface.p_droite.getDividerLocation());*/
		
		// Panneau Principal
		/*JInterface.panneau.setRightComponent(JInterface.p_droite);
		JInterface.panneau.setDividerLocation(JInterface.panneau.getDividerLocation());*/
	
}
